package com.tang.controller;

import com.tang.annotaions.Controller;
import com.tang.annotaions.RequestMapping;
import com.tang.annotaions.Security;

@Controller
@RequestMapping("/demo")
@Security(value = {"xiaoming","tangzhifang"})
public class TestController {
	@RequestMapping("/test")
	@Security(value = {"xiaowang"})
	public void test(String username){
		System.out.println(username);
	}
}
